package com.sxhuayuan.parking.socket.bo;

import java.util.Map;
import java.util.UUID;

import com.alibaba.fastjson.JSON;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class ParkingLotInterfaceRequest {

	private String uid;
	private String uri;
	private Map<String,String> headers;
	private String body;

	public ParkingLotInterfaceRequest(String uri, Map<String,String> headers, String body) {
		super();
		this.uid = UUID.randomUUID().toString();
		this.uri = uri;
		this.headers = headers;
		this.body = body;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
